/*
 * Element.h
 *
 *  Created on: 12 mars 2012
 *      Author: lsinapayen
 */

#ifndef ELEMENT_H_
#define ELEMENT_H_
using namespace std;
#include "Item.h"
//#include "Data.h"
#include "Attribut.h"
#include <vector>
#include <iostream>

class Element :public Item {
public:
	Element(string * nom, string * nomspace);
	virtual ~Element();
	//int pushAttributs(Attribut att);
	vector<Attribut*> * getAttributs();
//	Data * getData() ;
	vector<Item* > * getItems();
	void setAttributs(vector<Attribut*> * attributs);
//	void setData(Data * data);
    void setItems(vector<Item*> * items);
    string * getNomspace();
    void setNomspace(string * nomspace);
    virtual int afficher();


protected:
//	Data * data;
	vector <Item *> items;
	vector <Attribut*> attributs;
	string nomspace;
};

#endif /* ELEMENT_H_ */
